Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove require-tree #6

Merged
merged 1 commit into from
Oct 13, 2016
Merged

Remove require-tree #6

merged 1 commit into from
Oct 13, 2016

Conversation

ajhewitt
Copy link
Contributor

The require_tree loads everything under the js/radius-theme directory, which is basically...
everyone
The apps now specify the JS libraries that they specifically need, so this is not necessary.

The require_tree loads everything under the js/radius-theme, which
is a lot of stuff! The apps now specify the JS libraries that
they specifically need, so this is not necessary
Copy link
Contributor

@cupakromer cupakromer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

We really don't need any of the files in that tree?!?! 😵

@ajhewitt
Copy link
Contributor Author

We use some of these, but the apps (gossamer and kracken) specify what they need in their local application.js files.

@ajhewitt
Copy link
Contributor Author

Clarifying previous comment. The apps specify anything in addition to the common components specified in the radius-theme.js. The whole tree was getting pulled in and that is a lot of libraries!

@ajhewitt ajhewitt merged commit 195b7fc into master Oct 13, 2016
@ajhewitt ajhewitt deleted the js-loading branch October 13, 2016 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants